package com.example.kotlinmvvm

import androidx.activity.viewModels
import com.example.kotlinmvvm.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding, MainViewModel>() {

    override val layoutId: Int = R.layout.activity_main
    override val viewModel by viewModels<MainViewModel>()

    override fun initData() {
        super.initData()

        viewModel.refreshUserName()
    }

}